<?php


namespace App\Facades;


use EchoPHP\Facades\Facade;

/**
 * 验证码助手函数
 * Class Captcha
 * @method static array generate($type, $action)
 * @method static bool check($type, $uuid, $checkCode, $preCheck = false)
 * @package App\Facades
 */
class Captcha extends Facade
{

    /**
     * @inheritDoc
     */
    protected static function getFacadeClass() {
        return new \App\Service\Captcha(app()->make('cache'));
    }
}